<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/6/21
 * Time: 10:26
 */

namespace traits\controller;


trait CommonHandle
{
    /**
     * @param $where |-必须实现
     */
    protected function _beforeWhere(&$where){}
    /**
     * @param $where必须实现
     */
    protected function _endWhere(&$where){}
    /**
     * @param $where  |-可以对我参数在做处理
     */
    protected function _endParam(&$where){}
    /**
     * @param $param
     */
    protected function _beforeParam(&$param){}
    /**
     * @param $data
     */
    protected function _beforeEdit(&$data){}
    /**
     * @param $data
     */
    protected function _endEdit(&$data){}
    /**
     * @param $list  |-只提供继承
     */
    protected function _beforeList(&$list){}
    /**
     * @param $list   |-只提供继承
     */
    protected function _endList(&$list){}
}